<template>
    <div class="container">
        <Category title="游戏">
            <template scope="youxi">
                <ul>
                    <li v-for="(item, index) in youxi.youxi" :key="index">{{item}}</li>
                </ul>
            </template>
        </Category>

        <Category title="游戏">
            <template scope="youxi">
                <ol>
                    <li v-for="(item, index) in youxi.youxi" :key="index">{{item}}</li>
                </ol>
            </template>
        </Category>

        <Category title="游戏">
            <template scope="{youxi}">
                <h4 v-for="(item, index) in youxi" :key="index">{{item}}</h4>
            </template>
        </Category>
    </div>
</template>

<script>
    import Category from "@/components/Count";

    export default {
        name: "app",
        components: {
            Category
        }
    }
</script>

<style>
    .container, .foot {
        display: flex;
        justify-content: space-around;
    }

    img {
        width: 100%;
    }

    video {
        width: 100%;
    }

    h4 {
        text-align: center;
    }
</style>